Dom Christie

Tagged: justin searls

📚 til

Run migrations after a deploy to Heroku. In Procfile, add a release command:

web: bin/rails server -p $PORT
release: rails db:migrate

Learnt via Justin Searls’s The Selfish Programmer talk.